package com.abhinav.designPatterns.adapter;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

// Adaptee
public class NumberSorter {
	public List<Integer> sort(List<Integer> numbers) {
		// sort and return
		Arrays.sort(numbers.toArray(), 0, numbers.size());
		
		return numbers ;
	}
}
